class ComplaintMailer < ActionMailer::Base
 #default :from => pukara.2012@gmail.com"
 default :from => "pukara.cultural.2012@gmail.com"

  def registered_email(denuncia)
    @request_and_complaint_complaint=denuncia

   mail(:to => denuncia.email, :subject => "Denuncia Registrada")
  end

  def assigned_email(responsable)
   @security_people=responsable

   mail(:to => responsable.email, :subject => "Denuncia Asignada")
  end
  
end
